﻿namespace WMS6.Web.BaseInfoServiceRef
{
    using System;
    using System.CodeDom.Compiler;
    using System.Diagnostics;
    using System.Runtime.Serialization;

    [Serializable, DataContract(Name="UserMstQueryEntity", Namespace="http://schemas.datacontract.org/2004/07/WMS6.QueryEntity"), DebuggerStepThrough, GeneratedCode("System.Runtime.Serialization", "3.0.0.0")]
    public class UserMstQueryEntity : BaseQuery
    {
        [OptionalField]
        private string AddressField;
        [OptionalField]
        private string CityField;
        [OptionalField]
        private string CountryCodeField;
        [OptionalField]
        private string CountryField;
        [OptionalField]
        private string CreatedByField;
        [OptionalField]
        private string CreatedDateField;
        [OptionalField]
        private string DepartmentField;
        [OptionalField]
        private string EmailField;
        [OptionalField]
        private string ExpireDateField;
        [OptionalField]
        private string FaxField;
        [OptionalField]
        private string IsActiveField;
        [OptionalField]
        private string IsDomainUserField;
        [OptionalField]
        private string IsLockedField;
        [OptionalField]
        private string IsLoginField;
        [OptionalField]
        private string IsWhUserField;
        [OptionalField]
        private string LockDateField;
        [OptionalField]
        private string MobileField;
        [OptionalField]
        private string PasswdDateField;
        [OptionalField]
        private string PasswdField;
        [OptionalField]
        private string PhoneField;
        [OptionalField]
        private string RowIDField;
        [OptionalField]
        private string StateField;
        [OptionalField]
        private string StatusField;
        [OptionalField]
        private string SystemCreatedField;
        [OptionalField]
        private string UpdatedByField;
        [OptionalField]
        private string UpdatedDateField;
        [OptionalField]
        private string UserIDField;
        [OptionalField]
        private string UserNameField;
        [OptionalField]
        private string ZipField;

        [DataMember]
        public string Address
        {
            get
            {
                return this.AddressField;
            }
            set
            {
                if (!object.ReferenceEquals(this.AddressField, value))
                {
                    this.AddressField = value;
                    base.RaisePropertyChanged("Address");
                }
            }
        }

        [DataMember]
        public string City
        {
            get
            {
                return this.CityField;
            }
            set
            {
                if (!object.ReferenceEquals(this.CityField, value))
                {
                    this.CityField = value;
                    base.RaisePropertyChanged("City");
                }
            }
        }

        [DataMember]
        public string Country
        {
            get
            {
                return this.CountryField;
            }
            set
            {
                if (!object.ReferenceEquals(this.CountryField, value))
                {
                    this.CountryField = value;
                    base.RaisePropertyChanged("Country");
                }
            }
        }

        [DataMember]
        public string CountryCode
        {
            get
            {
                return this.CountryCodeField;
            }
            set
            {
                if (!object.ReferenceEquals(this.CountryCodeField, value))
                {
                    this.CountryCodeField = value;
                    base.RaisePropertyChanged("CountryCode");
                }
            }
        }

        [DataMember]
        public string CreatedBy
        {
            get
            {
                return this.CreatedByField;
            }
            set
            {
                if (!object.ReferenceEquals(this.CreatedByField, value))
                {
                    this.CreatedByField = value;
                    base.RaisePropertyChanged("CreatedBy");
                }
            }
        }

        [DataMember]
        public string CreatedDate
        {
            get
            {
                return this.CreatedDateField;
            }
            set
            {
                if (!object.ReferenceEquals(this.CreatedDateField, value))
                {
                    this.CreatedDateField = value;
                    base.RaisePropertyChanged("CreatedDate");
                }
            }
        }

        [DataMember]
        public string Department
        {
            get
            {
                return this.DepartmentField;
            }
            set
            {
                if (!object.ReferenceEquals(this.DepartmentField, value))
                {
                    this.DepartmentField = value;
                    base.RaisePropertyChanged("Department");
                }
            }
        }

        [DataMember]
        public string Email
        {
            get
            {
                return this.EmailField;
            }
            set
            {
                if (!object.ReferenceEquals(this.EmailField, value))
                {
                    this.EmailField = value;
                    base.RaisePropertyChanged("Email");
                }
            }
        }

        [DataMember]
        public string ExpireDate
        {
            get
            {
                return this.ExpireDateField;
            }
            set
            {
                if (!object.ReferenceEquals(this.ExpireDateField, value))
                {
                    this.ExpireDateField = value;
                    base.RaisePropertyChanged("ExpireDate");
                }
            }
        }

        [DataMember]
        public string Fax
        {
            get
            {
                return this.FaxField;
            }
            set
            {
                if (!object.ReferenceEquals(this.FaxField, value))
                {
                    this.FaxField = value;
                    base.RaisePropertyChanged("Fax");
                }
            }
        }

        [DataMember]
        public string IsActive
        {
            get
            {
                return this.IsActiveField;
            }
            set
            {
                if (!object.ReferenceEquals(this.IsActiveField, value))
                {
                    this.IsActiveField = value;
                    base.RaisePropertyChanged("IsActive");
                }
            }
        }

        [DataMember]
        public string IsDomainUser
        {
            get
            {
                return this.IsDomainUserField;
            }
            set
            {
                if (!object.ReferenceEquals(this.IsDomainUserField, value))
                {
                    this.IsDomainUserField = value;
                    base.RaisePropertyChanged("IsDomainUser");
                }
            }
        }

        [DataMember]
        public string IsLocked
        {
            get
            {
                return this.IsLockedField;
            }
            set
            {
                if (!object.ReferenceEquals(this.IsLockedField, value))
                {
                    this.IsLockedField = value;
                    base.RaisePropertyChanged("IsLocked");
                }
            }
        }

        [DataMember]
        public string IsLogin
        {
            get
            {
                return this.IsLoginField;
            }
            set
            {
                if (!object.ReferenceEquals(this.IsLoginField, value))
                {
                    this.IsLoginField = value;
                    base.RaisePropertyChanged("IsLogin");
                }
            }
        }

        [DataMember]
        public string IsWhUser
        {
            get
            {
                return this.IsWhUserField;
            }
            set
            {
                if (!object.ReferenceEquals(this.IsWhUserField, value))
                {
                    this.IsWhUserField = value;
                    base.RaisePropertyChanged("IsWhUser");
                }
            }
        }

        [DataMember]
        public string LockDate
        {
            get
            {
                return this.LockDateField;
            }
            set
            {
                if (!object.ReferenceEquals(this.LockDateField, value))
                {
                    this.LockDateField = value;
                    base.RaisePropertyChanged("LockDate");
                }
            }
        }

        [DataMember]
        public string Mobile
        {
            get
            {
                return this.MobileField;
            }
            set
            {
                if (!object.ReferenceEquals(this.MobileField, value))
                {
                    this.MobileField = value;
                    base.RaisePropertyChanged("Mobile");
                }
            }
        }

        [DataMember]
        public string Passwd
        {
            get
            {
                return this.PasswdField;
            }
            set
            {
                if (!object.ReferenceEquals(this.PasswdField, value))
                {
                    this.PasswdField = value;
                    base.RaisePropertyChanged("Passwd");
                }
            }
        }

        [DataMember]
        public string PasswdDate
        {
            get
            {
                return this.PasswdDateField;
            }
            set
            {
                if (!object.ReferenceEquals(this.PasswdDateField, value))
                {
                    this.PasswdDateField = value;
                    base.RaisePropertyChanged("PasswdDate");
                }
            }
        }

        [DataMember]
        public string Phone
        {
            get
            {
                return this.PhoneField;
            }
            set
            {
                if (!object.ReferenceEquals(this.PhoneField, value))
                {
                    this.PhoneField = value;
                    base.RaisePropertyChanged("Phone");
                }
            }
        }

        [DataMember]
        public string RowID
        {
            get
            {
                return this.RowIDField;
            }
            set
            {
                if (!object.ReferenceEquals(this.RowIDField, value))
                {
                    this.RowIDField = value;
                    base.RaisePropertyChanged("RowID");
                }
            }
        }

        [DataMember]
        public string State
        {
            get
            {
                return this.StateField;
            }
            set
            {
                if (!object.ReferenceEquals(this.StateField, value))
                {
                    this.StateField = value;
                    base.RaisePropertyChanged("State");
                }
            }
        }

        [DataMember]
        public string Status
        {
            get
            {
                return this.StatusField;
            }
            set
            {
                if (!object.ReferenceEquals(this.StatusField, value))
                {
                    this.StatusField = value;
                    base.RaisePropertyChanged("Status");
                }
            }
        }

        [DataMember]
        public string SystemCreated
        {
            get
            {
                return this.SystemCreatedField;
            }
            set
            {
                if (!object.ReferenceEquals(this.SystemCreatedField, value))
                {
                    this.SystemCreatedField = value;
                    base.RaisePropertyChanged("SystemCreated");
                }
            }
        }

        [DataMember]
        public string UpdatedBy
        {
            get
            {
                return this.UpdatedByField;
            }
            set
            {
                if (!object.ReferenceEquals(this.UpdatedByField, value))
                {
                    this.UpdatedByField = value;
                    base.RaisePropertyChanged("UpdatedBy");
                }
            }
        }

        [DataMember]
        public string UpdatedDate
        {
            get
            {
                return this.UpdatedDateField;
            }
            set
            {
                if (!object.ReferenceEquals(this.UpdatedDateField, value))
                {
                    this.UpdatedDateField = value;
                    base.RaisePropertyChanged("UpdatedDate");
                }
            }
        }

        [DataMember]
        public string UserID
        {
            get
            {
                return this.UserIDField;
            }
            set
            {
                if (!object.ReferenceEquals(this.UserIDField, value))
                {
                    this.UserIDField = value;
                    base.RaisePropertyChanged("UserID");
                }
            }
        }

        [DataMember]
        public string UserName
        {
            get
            {
                return this.UserNameField;
            }
            set
            {
                if (!object.ReferenceEquals(this.UserNameField, value))
                {
                    this.UserNameField = value;
                    base.RaisePropertyChanged("UserName");
                }
            }
        }

        [DataMember]
        public string Zip
        {
            get
            {
                return this.ZipField;
            }
            set
            {
                if (!object.ReferenceEquals(this.ZipField, value))
                {
                    this.ZipField = value;
                    base.RaisePropertyChanged("Zip");
                }
            }
        }
    }
}

